home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20031118-20041115 / 000057_Chris@bundy.co.uk_Wed Dec 10 11:24:03 2003.msg < prev    next >
Internet Message Format  |  2004-11-14  |  3KB

  1. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!easynet-quince!easynet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!demeter.uk.clara.net
  2. From: Chris@bundy.co.uk
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Command line switches
  5. Date: Wed, 10 Dec 2003 07:33:07 +0000
  6. Sender: Chris
  7. Reply-To: Chris@bundy.co.uk
  8. Message-ID: <40jdtvk8lh3afr7pgesnb1vh0el7gn4ttl@4ax.com>
  9. References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu> <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com> <slrnbtburh.2o1.fdc@sesame.cc.columbia.edu> <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com> <slrnbtcm9m.klt.fdc@sesame.cc.columbia.edu> <deb126db.0312092024.7aa2608d@posting.google.com>
  10. X-Newsreader: Forte Agent 1.92/32.572
  11. MIME-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-Complaints-To: abuse@clara.net (please include full headers)
  15. X-Trace: 700c711080026000de470002eaa38a06c94aac216a906bcb30586a443fd6cc29
  16. NNTP-Posting-Date: Wed, 10 Dec 2003 07:32:57 +0000
  17. Lines: 49
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14733
  19.  
  20. On 9 Dec 2003 20:24:53 -0800,
  21. slash_dev_slash_null_2000@yahoo.com (Mark Sapiro)
  22. wrote:
  23.  
  24. >Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbtcm9m.klt.fdc@sesame.cc.columbia.edu>...
  25. >> In article <r3jctvgfef9a4c1fdqup61vn5n6dg6s43o@4ax.com>,
  26. >> Chris@bundy.co.uk wrote:
  27. >> : On 9 Dec 2003 16:42:25 GMT, Frank da Cruz <fdc@columbia.edu> wrote:
  28. >> : 
  29. >> : It still hangs, and session.log is new not
  30. >> : appended to but replaced.
  31. >> : 
  32. >> : when I run the file fred on its own its fine,
  33. >> : server01# more fred
  34. >> : #!/usr/kermit/work/kermit
  35. >> :   set modem type none
  36. >> :   set line /dev/cuaa0
  37. >> :   if fail exit 1
  38. >> :   set exit warning off
  39. >> :   set speed 9600
  40. >> :   log session /var/log/session.log
  41. >> :   if fail exit 1
  42. >> : INPUT -1 STRING_THAT_WILL_NEVER_COME.
  43. >> : #CONNECT
  44. >> : 
  45. >> : server01# more /usr/local/etc/rc.d/phone.sh
  46. >> :  #!/bin/sh
  47. >> :  /var/log/fred
  48. >> :  exit
  49. >> : server01#.
  50. >> : 
  51. >> Assuming that that (a) /var/log/fred has execute permission, and
  52. >> (b) /usr/kermit/work/kermit is the true path of the Kermit executable,
  53. >> then it might be hanging because Kermit is printing some messages to
  54. >> stdout but there *is* no stdout.
  55. >
  56. >Actually, it is "hanging" because it is waiting forever for
  57. >STRING_THAT_WILL_NEVER_COME.  If this is the behavior you want (i.e.
  58. >continue logging the input on the port after startup), then you have
  59. >to do as Dan Skinner suggested earlier in this thread and fork the
  60. >Kermit off on its own so startup can continue before the Kermit
  61. >process terminates.
  62.  
  63. thanks lads
  64.  
  65. sounds logical how do I fork it off.
  66.  
  67. Chris
  68.  
  69.